package com.wanglianyun.entity;

/**
 * Description:
 * Copyright: Copyright (c) 2024
 * Create Time: 2024-11-13 11:35
 *
 * @author wanglianyun
 */
public class TeacherEntity {

    private int id;

    private String name;

    private int age;

    public TeacherEntity(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
